/*
*
*/
package captor.domainsystem;

import java.util.List;
import java.util.Vector;

import captor.crosscuttingdomainsystem.crosscuttinginfo.DomainInfo;
import captor.modelsystem.CaptorDomain;

/**
* @author Kicho
*
*/
public interface IDomainSystem {

   public void loadGuiDomain(String path);    
   public Vector getVariantByForm(String name);
   public FormType getFormById(String id);
   public boolean compareId(String id1, String id2);
   public boolean containId(Vector v, String id);
   public String extendsMechanism(Forms p);
   public DomainInfo loadCrosscutingDomainInfo(String path) throws Exception;
   public void writeCrosscutingDomainInfo(String projectPath, DomainInfo crosscuttingDomainInfo)throws DomainException;
   public String getReadDomainInfoPath(String nameDomain);
   public CaptorDomain getDomain(String domainName, DomainInfo crosscuttingDomainInfo, boolean flagXmlInfoFile);
   public List<CaptorDomain> getDomains();
}